home *** CD-ROM | disk | FTP | other *** search
- Path: dbridger.inlink.com!user
- From: dbridger@inlink.com (Dave Bridger)
- Newsgroups: comp.lang.c++
- Subject: Re: Cout and Cin
- Date: Sun, 11 Feb 1996 00:54:30 -0600
- Organization: inlink
- Message-ID: <dbridger-1102960054300001@dbridger.inlink.com>
- References: <4fgsku$osh@newsbf02.news.aol.com> <311cc49a.2219010@news.interlog.com>
- NNTP-Posting-Host: dbridger.inlink.com
-
- In article <311cc49a.2219010@news.interlog.com>, object@interlog.com
- (Nicholas Scott) wrote:
-
- > They are objects.
- > Have a look at the headers.
- >
- > lightir@aol.com (Lightir) wrote:
- >
- > >
- > >How do "cout" and "cin" work? They're not functions, so what are they?
- > >They require the library "iostreams", so im assuming they're not built in
- > >C commands. If someone can please explain this to me, e-mail me at
- > >Lightir@aol.com.
-
- More precisely, they are objects with overloaded operators ("<<" and ">>")
- that accept and return references to other objects ("ostream" and
- "istream").
-
- --Dave
- --
- The Reality Razors:
- 1) Never ascribe to malice that which can be easily attributed to stupidity.
- 2) Never ascribe to planning that which can be easily attributed to luck.
- 3) Never ascribe to conspiracy that which can be easily be attributed to coincidence.
-